<div id="register-form">
<p><?php echo $html->link("Trang Chủ »", "/recipes"); ?> <?php echo $html->link("Cá Nhân »", "/accounts"); ?> Đăng ký »</p>
<h1>Đăng ký làm thành viên</h1>
<?php echo $ajax->form(array('type' => 'post', 'options' => array( 'model'=>'Account', 'update'=>'register-form', 'before' => 'Element.show("register-loader");Form.disable("register-button");', 'complete' => 'Element.hide("register-loader");Form.enable("register-button");', 'url' => array("controller" => "accounts", "action" => "register"))));?>
<fieldset>
<ul>
  <legend>Thông tin thành viên</legend>
<li>
  <div class="group">
  <div>
  <?php echo $form->input("Account.name", array("class" => "text medium", "label" => array("class" => "desc", "text" => "Tên hiển thị <span class=\"req\">*</span>"), "error" => array("wrap" => "p", "class" => "error"))); ?>
  <?php echo $form->input("Account.email", array("class" => "text medium", "label" => array("class" => "desc", "text" => "Địa chỉ hộp thư (dùng để đăng nhập) <span class=\"req\">*</span>"), "error" => array("wrap" => "p", "class" => "error"))); ?>
  <?php echo $form->input("Account.password", array("class" => "text medium", "label" => array("class" => "desc", "text" => "Mật mã <span class=\"req\">*</span>"), "error" => array("wrap" => "p", "class" => "error"))); ?>
  <label class="desc"></label>
  <?php echo $form->button("Gửi", array("id" => "register-button", "class" => "button", "type" => "submit", "style" => "width:100px;")); ?>
  <?php echo $html->image("ajax-loader.gif", array("id" => "register-loader", "style" => "display:none;")); ?>
  </div>
  </div>
</li>
</ul>
</fieldset>
<?php echo $form->end(); ?>
</div>